<?php
$this->breadcrumbs=array(
	'Lớp'=>array('index'),
	'Tìm lớp theo quận',
);

$this->menu=array(
	array('label'=>'Danh sách lớp', 'url'=>array('index')),
	array('label'=>'Quản lý lớp', 'url'=>array('admin')),
);
?>

<h1 style="color:#0B55C4;">Lớp theo quận</h1>
<?php
//$tabs = array();
//$districts = District::model()->findAll(array('order'=>'id'));
//foreach ($districts as $district) {
//    $link = array();
//}
$this->widget('zii.widgets.jui.CJuiTabs', array(
	    'tabs' => array(
	        'Q1' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>1))),
	        'Q2' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>2))),
                'Q3' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>3))),
                'Q4' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>4))),
                'Q5' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>5))),
                'Q6' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>6))),
                'Q7' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>7))),
                'Q8' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>8))),
                'Q9' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>9))),
                'Q10' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>10))),
                'Q11' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>11))),
                'Q12' => array('ajax' => $this->createUrl('/course/searchByDistrict',array('id_district'=>12))),
	    ),
	    // additional javascript options for the tabs plugin
	    'options' => array(
	        'collapsible' => true,
	    ),
	));
?>